package astoliarskyi.wicket.card;

import astoliarskyi.wicket.card.restriction.Accumulator;
import astoliarskyi.wicket.card.restriction.Term;
import java.math.BigDecimal;

public class AccumulativeCard extends Card {
	
	protected AccumulativeCard(int id) {
		super (id, Card.CardType.STANDART, new Accumulator());
	}

	@Override
	public void rechargeBy(BigDecimal rechargeAmount) {
		restrictionContainer.rechargeBy(rechargeAmount);
	} 

	@Override
	public BigDecimal getMoneyLeft() {
		return restrictionContainer.getMoneyLeft();
	}


}
